<?php
/*
 * RECUPERATION DES DETAILS DU FILM A AFFICHER DANS LA POP UP
* */
include_once 'connect.php';
$recupFilm = $connexion->prepare( "SELECT * FROM films WHERE TRIM(titre_francais) = TRIM(\"".$_GET['film']."\");");
$recupFilm->execute();
$details = $recupFilm->fetch();
echo json_encode($details);
?>